package com.ask.service.Impl;

import com.ask.dao.UserDao;
import org.springframework.stereotype.Component;

@Component
public class ExampleService {
    private UserDao userDao;
    ExampleService (UserDao userDao) {
        this.userDao = userDao;
    }

    public void addUser(String username) {
        userDao.addUser(username);
    }
}
